<link rel="stylesheet" href="css/index.css"/>
<script src="js/jquery-3.4.1.js"></script>
<script src="js/vue.js"></script>
<script src="js/axios.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="js/menu.js"></script>

<div id="app">
    <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/' }">位置</el-breadcrumb-item>
        <el-breadcrumb-item>首页</el-breadcrumb-item>
    </el-breadcrumb>
    <br/>
    <div class="welinfo">
        <img src="img/sun.png" alt="天气" />
        <span><span id="login_name2" style="font-size: 14px;color: blue;"></span>早上好，欢迎使用SCM管理系统</span>
    </div>

    <div class="welinfo">
        <img src="img/time.png" alt="时间" />
        <span>您登录的时间：<span class="logTime"></span></span>
    </div>
</div>
<script type="text/javascript">
    var date = new Date().toLocaleString();
    $('.welinfo .logTime').text(date);

    // $(function (){
    //     Ajax.get("/getAccount",null,function (result){
    //         doResult(result,function (){
    //             $("#login_name2").html(result.data.name);
    //         });
    //     });
    // })

    window.onload = function (){
        let vm = new Vue({
            el:"#app"
        });
    }
</script>